from rest_framework.serializers import ModelSerializer
from blogapp.models import *


class UserSer(ModelSerializer):
    class Meta:
        model = User
        fields = '__all__'


class BlogSer(ModelSerializer):
    class Meta:
        model = Blog
        fields = '__all__'
